package com.bytech.common.biz.entity.emoticon;

import com.bytech.common.biz.enums.emoticon.EmoticonSourceEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author Zhao
 * @Create 2021/12/4 18:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EmoticonDto extends Emoticon {
    private static final long serialVersionUID = 1557430019505427613L;

    public String getEmoticonFromDesc() {
        return EmoticonSourceEnum.of(getEmoticonFrom()).getDesc();
    }
}
